package com.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(resultMap = "com.dao.EmpDAO.empMapper")
public class Emp {



    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String name;
    private Long did;

    @TableField(exist = false)
    private Dep dep;

}
